 /*   
 * Project: OSMP
 * FileName: Produce.java
 * version: V1.0
 */
package com.cnpc.iot.scgl.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.Table;

import com.cnpc.framework.annotation.Header;
import com.cnpc.framework.base.entity.BaseEntity;
import com.cnpc.framework.base.entity.Dict;

@Entity
@Table(name = "tbl_produce")
public class Produce extends BaseEntity{
	private static final long serialVersionUID = 2902179617808996616L;

	@Header(name="产品名称")
	@Column(name="name")
	private String name;
	
	@Header(name = "产品类别", joinClass=Dict.class, dataSource="PROTYPE")
    @JoinColumn(name = "pro_type")
    private String proType;
	
	@Header(name="单位", joinClass=Dict.class, dataSource="PROUNIT")
    @Column(name="pro_unit")
	private String proUnit;
	
	@Header(name="保质期")
    @Column(name="quality")
	private Integer quality;
	
	@Header(name="保质期单位", joinClass=Dict.class, dataSource="QUAUNIT")
    @Column(name="quality_unit")
	private String qualityUnit;
	
	@Header(name="重量")
    @Column(name="weight")
	private Integer weight;
	
	@Header(name="重量单位", joinClass=Dict.class, dataSource="WEIGHTUNIT")
    @Column(name="weight_unit")
	private String weightUnit;
	
	@Header(name="规格")
    @Column(name="standard")
	private String standard;
	
	@Header(name="成份")
	@Column(name="cf")
	private String cf;
	
	@Header(name="说明")
    @Column(name="remark")
	private String remark;

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}


	/**
	 * @return the quality
	 */
	public Integer getQuality() {
		return quality;
	}

	/**
	 * @param quality the quality to set
	 */
	public void setQuality(Integer quality) {
		this.quality = quality;
	}

	/**
	 * @return the weight
	 */
	public Integer getWeight() {
		return weight;
	}

	/**
	 * @param weight the weight to set
	 */
	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	/**
	 * @return the standard
	 */
	public String getStandard() {
		return standard;
	}

	/**
	 * @param standard the standard to set
	 */
	public void setStandard(String standard) {
		this.standard = standard;
	}

	/**
	 * @return the cf
	 */
	public String getCf() {
		return cf;
	}

	/**
	 * @param cf the cf to set
	 */
	public void setCf(String cf) {
		this.cf = cf;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getProType() {
		return proType;
	}

	public void setProType(String proType) {
		this.proType = proType;
	}

	public String getProUnit() {
		return proUnit;
	}

	public void setProUnit(String proUnit) {
		this.proUnit = proUnit;
	}

	public String getQualityUnit() {
		return qualityUnit;
	}

	public void setQualityUnit(String qualityUnit) {
		this.qualityUnit = qualityUnit;
	}

	public String getWeightUnit() {
		return weightUnit;
	}

	public void setWeightUnit(String weightUnit) {
		this.weightUnit = weightUnit;
	}

}
